﻿using Ongoal.Quotation.Common;
using Ongoal.Quotation.Service.Common;
using Ongoal.Quotation.Service.Model;
using Ongoal.Quotation.Service.Model.Sys;
using Ongoal.Quotation.Service.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ongoal.Quotation.Service.Interface
{
    /// <summary>
    /// 用户接口
    /// </summary>
    
    public interface IDataItemService : IServiceBase
    {
        /// <summary>
        /// 查询数据项
        /// </summary>
        /// <returns></returns>
        object GetDataItem(int catagoryid);
        /// <summary>
        /// 新增数据项
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        object AddDataItem(T_Sys_DataItem model);
       /// <summary>
       /// 编辑数据项
       /// </summary>
       /// <param name="model"></param>
       /// <returns></returns>
        object EditDataItem(T_Sys_DataItem model);
        /// <summary>
        /// 删除数据项
        /// </summary>
        /// <param name="Ids"></param>
        /// <returns></returns>
        object DeleteDataItem(List<int> Ids);
    }
}
